{% extends "base.html" %}
{% load i18n %}
{% load text_utils %}

{% block bodyclass %}dashboard{% endblock %}

{% block content_title %}
<h1>{% trans "FTB Explorer" %}</h1>
{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="/">{% trans "Home" %}</a> 
</div>
{% endblock %}

{% block content %}
<div class="content-main">
  <div class="module">
    <h2>{% trans "Search word" %}</h2>
    <form action="/search/" method="GET">
      <p>
	<input type="text" name="q" />
	<input type="submit" value="Search" />
      </p>
    </form>
  </div>
  {% if demo_sent %}
  <div class="module">
    <h2>{% trans "Exemple" %}</h2>
    <p>{{ demo_sent|bracket|safe }}</p>
    <a href="{{ demo_sent.get_absolute_url }}">{% trans "View" %}</a>
  </div>
  {% endif %}
</div>
{% endblock %}
